package com.li.o2oSystem.util;
/**
 * 分页转换器
 * @author Administrator
 *
 */
public class PageCalculator {
	public static int calculatorRowIndex(int pageIndex,int pageSize){
		//三目运算，
		return (pageIndex>0)?(pageIndex - 1)*pageSize:0;
	}
}
